Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 19 - Error Manager / Error Manager Reference
Error Manager Routines / Getting Errors, Warnings, and Notices Directly


Q3Error_Get

You can use the Q3Error_Get function to get the most recent and the oldest unreported errors from a QuickDraw 3D routine.

TQ3Error Q3Error_Get (TQ3Error *firstError);
firstError
On exit, the first unreported error from a QuickDraw 3D routine. Set this parameter to NULL if you do not want the first unreported error to be returned to you.
DESCRIPTION
The Q3Error_Get function returns, as its function result, the code of the most recent error that occurred after one or more previous calls to any QuickDraw 3D routines. Q3Error_Get causes QuickDraw 3D to clear that error code when you next call any QuickDraw 3D routine other than Q3Error_Get itself. Q3Error_Get also returns, in the firstError parameter, the oldest unreported error that occurred during a QuickDraw 3D routine.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996